package com.cwj.common.test.controller;

import com.cwj.common.vo.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class testController {
    @Resource
    private com.cwj.common.test.service.testService testService;
    @RequestMapping("/")
    private Result t1(){
        Object obj=new Object();
        obj= testService.t1();
        System.out.println(obj);
        return Result.normal(obj,null);
    }
}
